﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcMode.Controllers
{
    public class SecondController : Controller
    {
        // GET: Second
        public ActionResult Index()
        {
            ViewBag.Name = "第三种方法";
            return View();
        }

        public ActionResult List()
        {
            return View("~/Views/Home/index.cshtml");
        }
    }
}